package com.project.logging.service.serviceImpl;

import com.project.logging.beans.ErrLog;
import com.project.logging.dao.ErrLogDao;
import com.project.logging.service.ErrLogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service(value = "ErrLogService")
public class ErrLogServiceImpl implements ErrLogService {
    @Autowired
    ErrLogDao errLogDao;
    @Override
    public int addLog(ErrLog errLog) {
        return errLogDao.addLog(errLog);
    }
}
